﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LineWatch_WinForm
{
    public class Util
    {
        public static DateTime PositionNormalTime = DateTime.Now;
        public static DateTime ScreenSaverRefreshTime = DateTime.Now;
    }

    public class PositionStatusInfo
    {
        public PositionStatus Status = PositionStatus.Normal;
        public DateTime StatusBeginTime = DateTime.Now;
        public DateTime StatusEndTime = DateTime.Now;
    }

    public enum PositionStatus
    {
        Normal,
        Unnormal
    }

    public enum PositionCommandType
    {
        AllProductData,
        PlanNum,
        NowPlanNum,
        ProductNum,
        StopTime,
        CTTime,
        CTSignal,
        PlanNumSetting,
        CTTimeSetting,
        PlanNumReset,
        NowPlanNumReset,
        ProductNumReset,
        StopTimeReset,
        PositionSHA
    }

    public enum ProductInfoType
    {
        AllProductInfo,
        SingleProdutInfo
    }

    public enum PositionType
    {
        Alarm,
        Help,
        Stop,
        Unknown,
        Null
    }
}
